import { http } from "/@/utils/http";

// export const Login = (data?: object) => {
//   return http.request("post", "/admin/login", data);
// };


export async function Login<T>(data: any) {
  return await http.request<T>("post", "/admin/login", data)
}
